package com.ld.poetry.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ld.poetry.config.PoetryResult;
import com.ld.poetry.entity.TreeHole;

import javax.servlet.http.HttpServletRequest;


public interface TreeHoleServer  extends IService<TreeHole> {

        /**
        * 保存树洞并检查是否有敏感词
        * @param treeHole
        * @return
        */
        PoetryResult saveTreeHole(TreeHole treeHole, HttpServletRequest request);
}
